<%@page import="com.kaoshi.myweb.webstruts.service.LocalesService"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>Home</title>
  </head>
  
  <body>
  	<s:text name="HelloWorld"></s:text>
	<s:property value="%{getText('HelloWorld')}"/>
 	
 	<%
 		LocalesService localesService = new LocalesService();
 		Map<String, Locale> map = localesService.getLocale();
 		request.setAttribute("map", map);
 	%>
 	
 	${map }
   </body>
</html>
